-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support RRSA auth in AliCloud #5340
Conversation
Signed-off-by: Maxim Rubchinsky <[email protected]>
Signed-off-by: Maxim Rubchinsky <[email protected]>
Signed-off-by: Maxim Rubchinsky <[email protected]>
Alicloud OIDC support
Welcome @maximrub! |
/cc @ringtail - can you take a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add tests for the newly introduced code?
/assign |
I'll check it. |
yes, will add some more tests |
@maximrub Sorry for ping, are you still working on this? |
Hello @mozillazg |
Unassigning myself for now. Feel free to assign me back for approval after getting lgtm from @ringtail /unassign |
Signed-off-by: Maxim Rubchinsky <[email protected]>
@mozillazg @ringtail I added the tests that cover the added functionality of creating ecs and ess clients with RRSA authentication |
Signed-off-by: Maxim Rubchinsky <[email protected]>
Hi @ringtail |
sure, @mozillazg is working on reviewing the code |
cluster-autoscaler/cloudprovider/alicloud/alicloud_cloud_config.go
Outdated
Show resolved
Hide resolved
cluster-autoscaler/cloudprovider/alicloud/alibaba-cloud-sdk-go/sdk/auth/signers/signer_oidc.go
Outdated
Show resolved
Hide resolved
cluster-autoscaler/cloudprovider/alicloud/alibaba-cloud-sdk-go/sdk/auth/signers/signer_oidc.go
Outdated
Show resolved
Hide resolved
cluster-autoscaler/cloudprovider/alicloud/alibaba-cloud-sdk-go/sdk/auth/signers/signer_oidc.go
Outdated
Show resolved
Hide resolved
cluster-autoscaler/cloudprovider/alicloud/alibaba-cloud-sdk-go/sdk/auth/signers/signer_oidc.go
Show resolved
Hide resolved
cluster-autoscaler/cloudprovider/alicloud/alibaba-cloud-sdk-go/sdk/auth/signers/signer_oidc.go
Outdated
Show resolved
Hide resolved
cluster-autoscaler/cloudprovider/alicloud/alibaba-cloud-sdk-go/sdk/auth/signers/signer_oidc.go
Outdated
Show resolved
Hide resolved
cluster-autoscaler/cloudprovider/alicloud/alibaba-cloud-sdk-go/sdk/auth/signers/signer_oidc.go
Outdated
Show resolved
Hide resolved
cluster-autoscaler/cloudprovider/alicloud/alibaba-cloud-sdk-go/sdk/auth/signers/signer_oidc.go
Outdated
Show resolved
Hide resolved
cluster-autoscaler/cloudprovider/alicloud/alibaba-cloud-sdk-go/sdk/auth/signers/signer_oidc.go
Outdated
Show resolved
Hide resolved
@maximrub I took some time to deploy and test this, it works like a charm 🏅 👍 |
…g.go Co-authored-by: Huang Huang <[email protected]>
…/sdk/auth/signers/signer_oidc.go Co-authored-by: Huang Huang <[email protected]>
…/sdk/auth/signers/signer_oidc.go Co-authored-by: Huang Huang <[email protected]>
…/sdk/auth/signers/signer_oidc.go Co-authored-by: Huang Huang <[email protected]>
Signed-off-by: Maxim Rubchinsky <[email protected]>
thanks @mozillazg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/LGTM |
@ringtail: changing LGTM is restricted to collaborators In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign @x13n |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: maximrub, mozillazg, x13n The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Which component this PR applies to?
cluster-autoscaler
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR allows use of RRSA to authorize pods to access different cloud services
this way we can assign roles to the autoscaler pod only instead to the whole cluster, and allow to use other roles instead only of the automatically created RAM role by ACK
Which issue(s) this PR fixes:
Fixes #5339
Special notes for your reviewer:
Does this PR introduce a user-facing change?
no
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: